Square root and cube Root problem